package cn.com.hhrcw.service;

import cn.com.hhrcw.entity.EnInfo;
import cn.com.hhrcw.entity.PiInfo;
import cn.com.hhrcw.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 公司信息表 服务类
 * </p>
 *
 * @author jiangdong
 * @since 2020-10-29
 */
public interface IEnInfoService extends IService<EnInfo> {

    /**
     * getFeedbackCount
     *
     * @param map
     * @return
     */
    Integer getFeedbackCount(Map<String, String> map);

    /**
     * createCompany
     *
     * @param user
     * @param piInfo
     * @param enInfo
     * @return
     */
    boolean createCompany(SysUser user, PiInfo piInfo, EnInfo enInfo);

    /**
     * deleteCompany
     *
     * @param id
     * @return
     */
    boolean deleteCompany(String[] id);
}
